echo '==== Rodando o JFlex ===='
#echo;echo;
echo ""
echo ""
echo ""
java -jar JFlex.jar php.jflex;
echo ""
echo ""
echo ""
echo '==== Rodando o JCup ===='
echo ""
echo ""
java -jar java-cup-11a.jar -parser PhpParser -symbols PhpSymbols php.cup;
echo ""
echo ""
echo ""
echo '==== Rodando o Main ===='
echo ""
echo ""

javac ChamadaFuncao.java;
javac Funcao.java;
javac Generico.java;
javac Case.java;
javac Switch.java;
javac For.java;
javac DoWhile.java;
javac While.java;
javac RelOp.java;
javac Else.java;
javac ElseIf.java;
javac If.java;
javac Modulo.java;
javac Deslocamento.java;
javac IncDecRement.java;
javac MatBasica.java;
javac AcaoSemantica.java;
javac Atribuicao.java;
javac Comando.java;
javac Expressao.java;
javac Literal.java;
javac ParserUtils.java;
javac TreeParser.java;
javac Variavel.java;

javac ParseNode.java;
javac Escopo.java;
javac SemanticAnalyzer.java;
javac Main.java;

echo ""
echo ""
echo ""
echo "==== Compilou o Main ===="
echo ""
echo ""
echo ""
java Main;
echo ""
echo ""
echo '==== Fim do Main ===='